package com.base.pig.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yjh
 * @since 2022-05-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="MonthReport对象", description="")
public class MonthReport implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String date;

    //@TableField("pointName")
   // private String pointname;

    @TableField("deviceId")
    private String deviceId;

    @TableField("sensorCode")
    private String sensorcode;

    @TableField("max")
    private Double max;

    @TableField("min")
    private Double min;

    @TableField("avg")
    private Double avg;


}
